//
//  EGMCameraUtil.h
//  EGMLibrary
//
//  Created by apple on 2017/7/19.
//  Copyright © 2017年 egoman. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface EGMCameraUtil : NSObject

+ (BOOL) isCameraAvailable;
+ (BOOL) isRearCameraAvailable;
+ (BOOL) isFrontCameraAvailable ;
+ (BOOL) doesCameraSupportTakingPhotos ;
+ (BOOL) isPhotoLibraryAvailable;
+ (BOOL) canUserPickVideosFromPhotoLibrary;
+ (BOOL) canUserPickPhotosFromPhotoLibrary;
+ (BOOL) cameraSupportsMedia:(NSString *)paramMediaType sourceType:(UIImagePickerControllerSourceType)paramSourceType;
+(BOOL)haveCameraPrivilege;
+(BOOL)haveAlbumPrivilege;
@end
